﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Yule8xCommon.Typelib
{
    /// <summary>
    /// 通过code换取网页授权access_token
    /// </summary>
    /// <remarks>正确:{ "access_token":"ACCESS_TOKEN", "expires_in":7200, "refresh_token":"REFRESH_TOKEN", "openid":"OPENID", "scope":"SCOPE" }</remarks>
    /// <remarks>错误:{"errcode":40029,"errmsg":"invalid code"}</remarks>
    public class WxTokenResult
    {
        public string access_token { get; set; }
        public int expires_in { get; set; }
        public string refresh_token { get; set; }
        public string openid { get; set; }
        public string scope { get; set; }
    }
}